﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================

CREATE PROCEDURE [dbo].[SelectExposureWhereAsPoint]
	@ExposureKey int
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
	SELECT GeoRSSWhere.EnvelopeCenter().AsGml()
	FROM [ExposureCache] 
	WHERE [Id] = @ExposureKey
END
;
